#ifndef Egg_H
#define Egg_H
#include "Object.h"
class Game;

class Egg :
	public Object
{
	int currentState;
	double frameRateForFallingDown;
	double lastTimeForMoving;
public:
	enum States{
		kStop,
		kFallDown
	};
	Egg(SDL_Surface *screen = NULL/*Kieu Du Lieu cua thu vien SDL*/): Object(screen){ setType(KindOfObject::kEgg); }
	Egg(Game *game, const char *pathImage, double scaleRate);
	void draw();
	void update();
	void setState(int state){currentState = state;}
	int getState(){return currentState;}
};

#endif